package service;

import beans.User;
import dao.UserDao;

public class UserService {
    UserDao userDao=new UserDao();

    /**
     *
     * @param user 接受web层传递过来的用户数据
     * @return 操作结果
     */
    public User login(User user){
        return userDao.login(user);
    }
}
